<h1>Editar Proyecto:</h1>

<?php
   // var_dump();
    echo $this->Form->create('Project', array('action' => 'edit'));
    //echo $this->Form->inputs();
    echo $this->Form->input('name',array('label' => 'Nombre'));
    echo $this->Form->input('description', array('rows' => '3','label' => 'Description'));
    echo $this->Form->input('sprints',array('label' => 'Sprints'));
    $begin=strtotime($this->params['data']['Project']['begin']);
    echo "<div class='input number'><label for='ProjectBegin'>Inicio del Proyecto</label><input type='text' class='datePicker' name='data[Project][begin]'
    	value='".date( 'd-m-Y', $begin )."' data-date-format='dd-mm-yyyy' id='ProjectBegin' > </div>  ";
    $end=strtotime($this->params['data']['Project']['end']);
    echo "<div class='input number'><label for='ProjectEnd'>Fin del Proyecto</label><input type='text' class='datePicker' name='data[Project][end]'
    	value='".date( 'd-m-Y', $end )."' data-date-format='dd-mm-yyyy' id='ProjectEnd' > </div>  ";
    
    
    echo $this->Form->input('id', array('type' => 'hidden'));
    echo $this->Form->end('Save');